from rest_framework.routers import SimpleRouter
from django.urls import path
from .views import LkappDemoModelViewSet,LmtappDemoModelViewSet

router = SimpleRouter()
router.register("api/lkapp", LkappDemoModelViewSet)
router.register("api/lmt", LmtappDemoModelViewSet)


urlpatterns = [
    path('lkapp/lmtstatus', LmtappDemoModelViewSet.as_view({'get': 'LMTstatus'})),
]
urlpatterns += router.urls